libxc: implement gnttab.set_max_grants for Linux
authorJan Beulich <jbeulich@suse.com>
Mon, 14 May 2012 15:20:33 +0000 (16:20 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 14 May 2012 15:20:33 +0000 (16:20 +0100)
commitbc934837c2ac48e4b5ca05b6e397f7f9f780ff82
tree0209bcfdb8772702ade1500b6ceb93b7cdc02c49
parent688e95c3b338a33c73ae8493c823a98c3ebe7e86
libxc: implement gnttab.set_max_grants for Linux

Legacy (non-pvops) gntdev drivers may require this operation to be
performed when the number of grants intended to be used simultaneously
exceeds a certain driver specific default limit, and qemu's qdisk
driver is an example of needing to do so.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/xc_linux_osdep.c